package com.cx.purchase.subclass.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SubClassAddVo {

    @NotBlank(message = "添加时,编码不能为空")
    private String code;
    @NotBlank(message = "添加时,名称不能为空")
    private String name;
    @NotNull(message = "添加时,状态不能为空")
    private Boolean status;

    private String remark;
}
